package com.ethink.warehouse.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.warehouse.api.request.*;
import com.ethink.warehouse.api.response.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 仓库库龄报表 Facade接口
 *
 * @author default
 * @date 2023-01-29
 */
@FeignClient(name = "ethink-warehouse-service", path = "warehouse-service/facade/v1/reportMateInventoryAge", contextId = "reportMateInventoryAgeFacade")
public interface ReportMateInventoryAgeFacade {

    @PostMapping("/queryReportMateInventoryAge")
    @ResponseBody
    Page<ReportMateInventoryAgeQueryResponse> queryReportMateInventoryAge(@RequestBody ReportMateInventoryAgeQueryRequest request);

}